@section('title')
    咨询详情 @parent
@show

@section('content')
{{ HTML::style('css/phoneTextView.css')}} 
{{ HTML::script('js/question/phone_text_View.js')}}
<div class="container-content oh">
	<div class="oh view-content">
		<div class="fl"><img src="/img/question2/2017-3/oneConsultation1.png" width="500" height="318" style="border-radius:10px;"></div>
		<div class="fl adviser-info">
			<p class="font18 bold" style="line-height:26px">专业咨询</p>
			<p class="colorD adviser1" style="border-bottom: 1px solid #dcdcdc;padding-bottom: 20px;">选择律师为您解答法律问题</p>
			<p class="price">
				<span class="font16 colorD">价格：</span>
				<span class="font18 colorB bold"> 19</span>
				<span class="font16 colorB">元起</span>
			</p>
			<p class="price" style="display: none;">
				<span class="font16 colorD">价格：</span>
				<span class="font18 colorB bold"> 19</span>
				<span class="font16 colorB">元起</span>
			</p>
			<p class="typebut">
				<span class="font16 colorD">类型：</span>  
				<a data-id="1" class="view-but cud">图文咨询</a>  
				<a data-id="2" class="view-but">电话咨询</a>
			</p>
			<p>
				<a href="##"><span class="selectLvbut">选择律师</span></a>
			</p>
			<p class="color9">*请认真阅读服务内容，合同签订后不可更改服务内容</p>
		</div>
	</div>
	<div class="view-content1 oh" style="border: none;">
		<ul>
			<li>
				<img src="/img/question2/2017-3/oneConsultation2.png">
			</li>
			<li class="textac" style="margin-top: -10px;padding:40px;">
				
				<dl class="serviceContent">
					<dt>服务内容</dt>
					<table border="1" style="border: none;text-align: center;">
						<tbody>
							<tr>
							    <td width="250" class="bgcolor">咨询方式</td>
							    <td width="650" class="bgcolor">图文咨询</td>
							</tr>
							<tr>
							    <td class="bgcolor">服务时间</td>
							    <td class="">即时通讯方式，24小时内不限条数咨询</td>
							</tr>
							<tr>
							    <td class="bgcolor">收费说明</td>
							    <td class="">律团律师都是经过实名认证的律师，根据执业年限的不同，收费标准会有一定的差异</td>
							</tr>
						</tbody>
					</table>
				</dl>
				<dl class="serviceContent" style="display: none;">
					<dt>服务内容</dt>
					<table border="1" style="border: none;text-align: center;">
						<tbody>
							<tr>
							    <td width="250" class="bgcolor">咨询方式</td>
							    <td width="650" class="bgcolor">电话咨询</td>
							</tr>
							<tr>
							    <td class="bgcolor">服务时间</td>
							    <td class="">即时通讯方式，24小时内不限条数咨询</td>
							</tr>
							<tr>
							    <td class="bgcolor">收费说明</td>
							    <td class="">律团律师都是经过实名认证的律师，根据执业年限的不同，收费标准会有一定的差异</td>
							</tr>
						</tbody>
					</table>
				</dl>
			</li>
			<li>
				<img src="/img/question2/2017-3/oneConsultation3.png">
			</li>
			<li class="textac" style="font-size: 40px;margin:100px 0;">服务保障</li>
			<li style="margin-bottom:50px;">
				<img src="/img/question2/2017-3/oneConsultation4.png">
			</li>
			
		</ul>
	</div>
	<div class="view-content1 oh">
		<div class="titlebg"><div style="margin-left:20px;">用户评价</div></div>
		<div style="padding:20px;">
			<div class="evaluate-but">
				<a class="cua" href="javascript:void(0);" data-id="all">全部</a>
				<a href="javascript:void(0);" data-id="high"><span class="colorF">好评</span> <span class="colorD high">0</span></a>
				<a href="javascript:void(0);" data-id="intermediate"><span class="colorF">中评</span> <span class="colorD intermediate">0</span></a>
				<a href="javascript:void(0);" data-id="low"><span class="colorF">差评</span> <span class="colorD low">0</span></a>
			</div>
			<ul class="good-evaluate min-height">
				
			</ul>
		</div>
	</div>
	<div class="butA load-more" style="display:none" data-id="1">加载更多</div>
</div>
{{ Form::token() }}
<script type="text/javascript">
	var jumpUrl = "{{ Config::get('app.url') }}";
	var question_type = "pay_text";
	$(".typebut a").click(function (e) {
		$(".typebut a").removeClass("cud");
		$(this).addClass("cud");
		var adviserNum = $(this).attr("data-id");
		if(adviserNum == 2){
			question_type = 'pay_phone';
		}else{
			question_type = 'pay_text';
		}
		
		$(".adviser-info .price").hide().eq(adviserNum-1).show();
		$(".serviceContent").hide().eq(adviserNum-1).show();
	});
	$(".selectLvbut").click(function (argument) {
		window.location.href = "{{route('lawyer.list')}}?type="+question_type;
		localStorage.setItem("question_type", JSON.stringify(question_type));
	});
	
</script>
@show 